package algorithm.digui;

import java.util.List;

/**
 * @Description：
 * @Author：LiDong
 * @Create：2020/8/20
 * @Version：1.0.0
 */
public class TreeItem {

    private String id;
    private String text;
    private List<TreeItem> childern;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<TreeItem> getChildern() {
        return childern;
    }

    public void setChildern(List<TreeItem> childern) {
        this.childern = childern;
    }


    @Override
    public String toString() {
        return "TreeItem{" +
                "id='" + id + '\'' +
                ", text='" + text + '\'' +
                ", childern=" + childern +
                '}';
    }
}
